package com.xiaozhu.pojo.VO;

import com.xiaozhu.pojo.Entity.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 朱慧军
 * @version 1.0
 *
 * 数据返回给前端
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserVo implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private String username;
    private String password;
    private String token;

    private String role;
    private List<Role> roles;


}
